package com.efast.dmom.mgmt.service.les.impl;

import java.util.List;

import com.efast.dmom.mgmt.dao.les.TtWhmStockOutboundDao;
import com.efast.dmom.mgmt.entity.les.TtWhmStockOutbound;
import com.efast.dmom.mgmt.service.les.TtWhmStockOutboundService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("ttWhmStockOutboundServiceImpl")
public class TtWhmStockOutboundServiceImpl implements TtWhmStockOutboundService {
	@Autowired
	private TtWhmStockOutboundDao ttWhmStockOutboundDao;

	@Override
	public long getTtWhmStockOutboundRowCount(Assist assist) {
		return ttWhmStockOutboundDao.getTtWhmStockOutboundRowCount(assist);
	}

	@Override
	public List<TtWhmStockOutbound> selectTtWhmStockOutbound(Assist assist) {
		return ttWhmStockOutboundDao.selectTtWhmStockOutbound(assist);
	}

	@Override
	public TtWhmStockOutbound selectTtWhmStockOutboundByObj(TtWhmStockOutbound obj) {
		return ttWhmStockOutboundDao.selectTtWhmStockOutboundByObj(obj);
	}

	@Override
	public TtWhmStockOutbound selectTtWhmStockOutboundById(Integer id) {
		return ttWhmStockOutboundDao.selectTtWhmStockOutboundById(id);
	}

	@Override
	public int insertTtWhmStockOutbound(TtWhmStockOutbound value) {
		return ttWhmStockOutboundDao.insertTtWhmStockOutbound(value);
	}

	@Override
	public int insertNonEmptyTtWhmStockOutbound(TtWhmStockOutbound value) {
		return ttWhmStockOutboundDao.insertNonEmptyTtWhmStockOutbound(value);
	}

	@Override
	public int insertTtWhmStockOutboundByBatch(List<TtWhmStockOutbound> value) {
		return ttWhmStockOutboundDao.insertTtWhmStockOutboundByBatch(value);
	}

	@Override
	public int deleteTtWhmStockOutboundById(Integer id) {
		return ttWhmStockOutboundDao.deleteTtWhmStockOutboundById(id);
	}

	@Override
	public int deleteTtWhmStockOutbound(Assist assist) {
		return ttWhmStockOutboundDao.deleteTtWhmStockOutbound(assist);
	}

	@Override
	public int updateTtWhmStockOutboundById(TtWhmStockOutbound enti) {
		return ttWhmStockOutboundDao.updateTtWhmStockOutboundById(enti);
	}

	@Override
	public int updateTtWhmStockOutbound(TtWhmStockOutbound value, Assist assist) {
		return ttWhmStockOutboundDao.updateTtWhmStockOutbound(value, assist);
	}

	@Override
	public int updateNonEmptyTtWhmStockOutboundById(TtWhmStockOutbound enti) {
		return ttWhmStockOutboundDao.updateNonEmptyTtWhmStockOutboundById(enti);
	}

	@Override
	public int updateNonEmptyTtWhmStockOutbound(TtWhmStockOutbound value, Assist assist) {
		return ttWhmStockOutboundDao.updateNonEmptyTtWhmStockOutbound(value, assist);
	}

	public TtWhmStockOutboundDao getTtWhmStockOutboundDao() {
		return this.ttWhmStockOutboundDao;
	}

	public void setTtWhmStockOutboundDao(TtWhmStockOutboundDao ttWhmStockOutboundDao) {
		this.ttWhmStockOutboundDao = ttWhmStockOutboundDao;
	}

}